package com.coderly.onlinegallerysharingplatform.common.oss.service;

import com.coderly.onlinegallerysharingplatform.model.dto.resp.pic.PicOperationResult;
import org.springframework.web.multipart.MultipartFile;

@Deprecated
public interface FileService {

    /**
     * 上传图片
     *
     * @return
     */
    PicOperationResult uploadPicture(MultipartFile multipartFile, String uploadPathPrefix);

    /**
     * 删除图片
     *
     * @return
     */
    Boolean deletePicture(Long pictureId);
}